<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/common :: common_header"/>
<input type="hidden" name="id" th:value="${role.id}"/>
<table class="editTable">
    <thead>
    <tr>
        <td colspan="8">
            <div class="divider">
                <span> 角色详情信息</span>
            </div>
        </td>
    </tr>
    <tr>
        <th class="label" width="8%"><span class="span_red">*</span>角色名称</th>
        <td width="35%">
            <input type="text" name="name" data-toggle="topjui-textbox" data-options="required:true,validateOnCreate:false,width:250" th:value="${role.name}">
        </td>
        <th class="label" style="min-width: 100px!important;"><span class="span_red">*</span>角色状态</th>
        <td>
            <select name="status" data-toggle="topjui-combobox">
                <option th:each="val : ${status}" th:value="${val}" th:selected="${role.status eq val}"><span th:text="${val.value}"></span></option>
            </select>
        </td>
    </tr>
    <tr>
        <th style="line-height: 20px;height: 20px;padding: 0px;">&nbsp;</th>
        <td style="line-height: 20px;height: 20px;padding: 0px;">&nbsp;</td>
    </tr>
    <tr>
        <th class="label" style="max-width:100%!important;">角色描述</th>
        <td colspan="3">
            <input type="text" name="description" data-toggle="topjui-textbox" style="width: 94%;" th:value="${role.description}">
        </td>
    </tr>
    </thead>
</table>
</html>